package com.bw.paper.mvp.contact;

import com.bw.paper.mvp.base.model.BaseEntity;
import com.bw.paper.mvp.base.model.IModel;
import com.bw.paper.mvp.base.view.IView;
import com.bw.paper.entity.UserItemEntity;
import com.bw.paper.entity.UserMenuEntity;

import java.util.List;
import java.util.Map;

import io.reactivex.Observable;
//契约接口

public interface UserContract {
    interface IUserhModel extends IModel{
        Observable<BaseEntity> reqstUser(Map<String,Object> map);
    }
    interface IUserhView extends IView {
//        请求完成后回调通知activity页面跳转

//        今日签到任务栏表
        void refresh(BaseEntity baseEntity);
//        用户菜单
        void refreshMenu(List<UserMenuEntity> menues );
//        积分商城分
        void refreshItemes(List<UserItemEntity > itemes );
    }
}
